setKind

abstract fun setKind(block: DesignBlock, kind: String)

Set the kind of the given block, fails if the block is invalid.

Parameters

block

the block to modify.

kind

the block kind.